package negocio;

import entities.TransporteEntity;

public class Transporte extends Precio
{
	private int id;
	private Vehiculo vehiculo;
	
	public Vehiculo getVehiculo() {
		return vehiculo;
	}
	public void setVehiculo(Vehiculo vehiculo) {
		this.vehiculo = vehiculo;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	
	public TransporteEntity toEntity()
	{
		TransporteEntity te = new TransporteEntity();
		te.setId(this.getId());
		return te;
	}
	
}
